﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.DirectX.Direct3D;
using Microsoft.DirectX;
using System.Drawing;

namespace gpuHough.DirectX
{
    class Texture
    {
        public Microsoft.DirectX.Direct3D.Texture DXTexture { get; private set; }
        public Size Size { get; private set; }

        public static implicit operator Microsoft.DirectX.Direct3D.Texture(Texture obj)
        {
            return obj.DXTexture;
        }

        public Texture(Microsoft.DirectX.Direct3D.Texture Texture, Size Size)
        {
            this.DXTexture = Texture;
            this.Size = Size;
        }
    }
}
